package com.dengbw.systemtransfer.model.db;


import lombok.*;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class SysCorp {

	@TableId(type = IdType.AUTO)
	/**
	 * 村寨Id
	 */
	@ApiModelProperty(value = "村寨Id", position = 0)
	private Long id;

	/**
	 * 村寨名称
	 */
	@ApiModelProperty(value = "村寨名称", position = 1)
	private String name;

	/**
	 * 钉钉组织Id
	 */
	@ApiModelProperty(value = "钉钉组织Id", position = 2)
	private String dingCorpId;

	/**
	 * 钉钉AgentId
	 */
	@ApiModelProperty(value = "钉钉AgentId", position = 3)
	private String dingAgentId;

	/**
	 * 钉钉AccessKey
	 */
	@ApiModelProperty(value = "钉钉AccessKey", position = 4)
	private String dingAccessKey;

	/**
	 * 钉钉AccessSecret
	 */
	@ApiModelProperty(value = "钉钉AccessSecret", position = 5)
	private String dingAccessSecret;

	/**
	 * 钉钉SsoSecret
	 */
	@ApiModelProperty(value = "钉钉SsoSecret", position = 6)
	private String dingSsoSecret;

	/**
	 * 钉钉SuiteTicket
	 */
	@ApiModelProperty(value = "钉钉SuiteTicket", position = 7)
	private String dingSuiteTicket;

	/**
	 * 村寨描述
	 */
	@ApiModelProperty(value = "村寨描述", position = 8)
	private String remark;

	/**
	 * 状态#'1':'正常','2':'停用'
	 */
	@ApiModelProperty(value = "状态#'1':'正常','2':'停用'", position = 9)
	private Integer status;

	/**
	 * 删除标识(true删除)
	 */
	@ApiModelProperty(value = "删除标识(true删除)", position = 10)
	private Integer isDel;

	/**
	 * 创建人
	 */
	@ApiModelProperty(value = "创建人", position = 11)
	private Long createUserId;

	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间", position = 12)
	private java.util.Date createTime;

	/**
	 * 修改人
	 */
	@ApiModelProperty(value = "修改人", position = 13)
	private Long modifyUserId;

	/**
	 * 修改时间
	 */
	@ApiModelProperty(value = "修改时间", position = 14)
	private java.util.Date modifyTime;

	private String tenantId;

	/**
	 * 0不同步 1同步
	 */
	@ApiModelProperty(value = "0不同步 1同步", position = 16)
	private Integer needSync;

	/**
	 * 所属省
	 */
	@ApiModelProperty(value = "所属省", position = 17)
	private Integer provinceId;

	/**
	 * 所属市
	 */
	@ApiModelProperty(value = "所属市", position = 18)
	private Integer cityId;

	/**
	 * 所属区
	 */
	@ApiModelProperty(value = "所属区", position = 19)
	private Integer districtId;

	/**
	 * 所属乡
	 */
	@ApiModelProperty(value = "所属乡", position = 20)
	private Integer villageId;

	/**
	 * 村租户标识
	 */
	@ApiModelProperty(value = "村租户标识", position = 21)
	private Long subTenantId;

	/**
	 * 区号
	 */
	@ApiModelProperty(value = "区号", position = 22)
	private String areaCode;

	private Integer onlyTown;

	/**
	 * 区名
	 */
	@ApiModelProperty(value = "区名", position = 24)
	private String district;

	/**
	 * 镇名
	 */
	@ApiModelProperty(value = "镇名", position = 25)
	private String town;


}
